package com.lfnyxy.dao.org;



import com.lfnyxy.entity.org.AppEntity;
import com.lfnyxy.query.org.AppQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface AppDao {
    int CreateItem(AppEntity entity);

    int UpdateItem(AppEntity entity);

    List<AppEntity> QueryPageList(AppQuery query);

    List<AppEntity> QueryAll();

    int QueryPageListCount(AppQuery query);

    int CheckIsExist(AppEntity entity);

    AppEntity QueryItem(int Id);

    int DeleteItem(int Id);
}